package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.pojo.Category;

import java.sql.SQLNonTransientException;

public interface CategoryService extends IService<Category> {


    //根据id删除分类，先检查是否关联菜品、套餐数据
    void deleteById(Long id);
}
